/***********************************************************************
    filename:   CEGUIRenderingContext.h
    created:    Mon Jan 12 2009
    author:     Paul D Turner
*************************************************************************/

#ifndef _HgeRenderingContext_h_
#define _HgeRenderingContext_h_

#include "hgeRenderingSurface.h"

/*!
\brief
    struct that holds some context relating to a RenderingSurface object.
*/
struct RenderingContext
{
    //! RenderingSurface to be used for drawing
    RenderingSurface* surface;
    //! The Window object that owns the RenederingSurface (0 for default root)
    const Window* owner;
    //! The offset of the owning window on the root RenderingSurface.
    Vector2 offset;
    //! The queue that rendering should be added to.
    RenderQueueID queue;
};

#endif  // end of guard _CEGUIRenderingContext_h_
